package com.gopay.remote.fundcps.model;

import com.gopay.common.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author liuyu
 * @description：商财通基金产品信息
 * @date 2017-03-27 14:58
 **/
public class FundcProduct extends BaseEntity {
    private static final long serialVersionUID = 8062187300054299944L;
    private BigDecimal keyId;//自增主键序列

    private String busiFlag;//定投传入参数：1

    private String fundCode;//基金代码

    private String fundName;//基金名称

    private String fundType;//基金类型：0普通基金1货币市场基金2短债类基金3债券类基金4指数型基金5保本基金6qdii基金

    private String custType;//客户类型:0-机构 1-个人

    private String mktFlag;//排序参数

    private String minorFlag;//未成年人标记

    private String checkAccountFlag;//网上认购产品,1表示支持网上交易,0表示不支持

    private String appsubsTime;//认购收市时间

    private String bidsTime;//申购期收市时间

    private BigDecimal growthRate;//七日年化收益率

    private BigDecimal fundIncomeUnit;//万份收益

    private String ipoStartDate;//开始募集日期

    private BigDecimal maxAmount;//最大起扣金额

    private BigDecimal minAmount;//最小起扣金额

    private BigDecimal fundNav;//当日基金净值

    private String navDate;//净值日期

    private String remark;//备注

    private String riskLevel;//风险等级

    private String shareClasses;//支持的基金评级

    private String shareType;//收费方式

    private String status;//当日基金状态 0-交易，1-发行 2-发行成功，3-发行失败 4-基金停止交易 5-停止申购 6-停止赎回 9-基金封闭，a-基金终止

    private String tano;//ta代码

    private String termDesc;//产品终止描述

    private BigDecimal totalNav;//累计净值

    private String dividend;//分红方式  0-现金分红 1-红利再投

    private Date createdTs;//创建时间

    private Date lastUpdTs;//更新时间

    public BigDecimal getKeyId() {
        return keyId;
    }

    public void setKeyId(BigDecimal keyId) {
        this.keyId = keyId;
    }

    public String getBusiFlag() {
        return busiFlag;
    }

    public void setBusiFlag(String busiFlag) {
        this.busiFlag = busiFlag == null ? null : busiFlag.trim();
    }

    public String getFundCode() {
        return fundCode;
    }

    public void setFundCode(String fundCode) {
        this.fundCode = fundCode == null ? null : fundCode.trim();
    }

    public String getFundName() {
        return fundName;
    }

    public void setFundName(String fundName) {
        this.fundName = fundName == null ? null : fundName.trim();
    }

    public String getFundType() {
        return fundType;
    }

    public void setFundType(String fundType) {
        this.fundType = fundType == null ? null : fundType.trim();
    }

    public String getCustType() {
        return custType;
    }

    public void setCustType(String custType) {
        this.custType = custType == null ? null : custType.trim();
    }

    public String getMktFlag() {
        return mktFlag;
    }

    public void setMktFlag(String mktFlag) {
        this.mktFlag = mktFlag == null ? null : mktFlag.trim();
    }

    public String getMinorFlag() {
        return minorFlag;
    }

    public void setMinorFlag(String minorFlag) {
        this.minorFlag = minorFlag == null ? null : minorFlag.trim();
    }

    public String getCheckAccountFlag() {
        return checkAccountFlag;
    }

    public void setCheckAccountFlag(String checkAccountFlag) {
        this.checkAccountFlag = checkAccountFlag == null ? null : checkAccountFlag.trim();
    }

    public String getAppsubsTime() {
        return appsubsTime;
    }

    public void setAppsubsTime(String appsubsTime) {
        this.appsubsTime = appsubsTime == null ? null : appsubsTime.trim();
    }

    public String getBidsTime() {
        return bidsTime;
    }

    public void setBidsTime(String bidsTime) {
        this.bidsTime = bidsTime == null ? null : bidsTime.trim();
    }

    public BigDecimal getGrowthRate() {
        return growthRate;
    }

    public void setGrowthRate(BigDecimal growthRate) {
        this.growthRate = growthRate;
    }

    public BigDecimal getFundIncomeUnit() {
        return fundIncomeUnit;
    }

    public void setFundIncomeUnit(BigDecimal fundIncomeUnit) {
        this.fundIncomeUnit = fundIncomeUnit;
    }

    public String getIpoStartDate() {
        return ipoStartDate;
    }

    public void setIpoStartDate(String ipoStartDate) {
        this.ipoStartDate = ipoStartDate == null ? null : ipoStartDate.trim();
    }

    public BigDecimal getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(BigDecimal maxAmount) {
        this.maxAmount = maxAmount;
    }

    public BigDecimal getMinAmount() {
        return minAmount;
    }

    public void setMinAmount(BigDecimal minAmount) {
        this.minAmount = minAmount;
    }

    public BigDecimal getFundNav() {
        return fundNav;
    }

    public void setFundNav(BigDecimal fundNav) {
        this.fundNav = fundNav;
    }

    public String getNavDate() {
        return navDate;
    }

    public void setNavDate(String navDate) {
        this.navDate = navDate == null ? null : navDate.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getRiskLevel() {
        return riskLevel;
    }

    public void setRiskLevel(String riskLevel) {
        this.riskLevel = riskLevel == null ? null : riskLevel.trim();
    }

    public String getShareClasses() {
        return shareClasses;
    }

    public void setShareClasses(String shareClasses) {
        this.shareClasses = shareClasses == null ? null : shareClasses.trim();
    }

    public String getShareType() {
        return shareType;
    }

    public void setShareType(String shareType) {
        this.shareType = shareType == null ? null : shareType.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getTano() {
        return tano;
    }

    public void setTano(String tano) {
        this.tano = tano == null ? null : tano.trim();
    }

    public String getTermDesc() {
        return termDesc;
    }

    public void setTermDesc(String termDesc) {
        this.termDesc = termDesc == null ? null : termDesc.trim();
    }

    public BigDecimal getTotalNav() {
        return totalNav;
    }

    public void setTotalNav(BigDecimal totalNav) {
        this.totalNav = totalNav;
    }

    public String getDividend() {
        return dividend;
    }

    public void setDividend(String dividend) {
        this.dividend = dividend == null ? null : dividend.trim();
    }

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }
}